package com.cq.hd.member.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class BusinessPointsMallProductPageVo implements Serializable {

    @ApiModelProperty(value = "积分商品id")
    private Long id;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品图片[核销商品]")
    private List<String> goodsImages;

    @ApiModelProperty(value = "商品结算价格")
    private BigDecimal amount;

    @ApiModelProperty(value = "库存数量")
    private Integer totalNum;

    @ApiModelProperty(value = "已兑换数量")
    private Integer usedNum;

    @ApiModelProperty(value = "剩余数量。0表示已兑完，大于0表示上架中")
    private Integer remainNum;

    @ApiModelProperty(value = "积分用户数")
    private Integer userNum;

    @ApiModelProperty(value = "上架时间")
    private LocalDateTime effectiveTime;
}
